var http ="http://oneapi.zhilianmanbu.com/"
var LoginHttp ="http://onefar.nonglianbang.net/"
var r = {
	farHttp:'http://onefar.nonglianbang.net/',
	public:{
		multiFileUpload: http +'v1/api/share/file/upload/simpleFileUpload',//上传图片
		getMyFinanceInfo: http +'v1/api/mall/member/personal/getMyFinanceInfo',//个人财务展示
		getAibHead: http +'v1/api/mall/member/personal/getAibHead',//收益头部汇总
		getAibFlow: http +'v1/api/mall/member/personal/getAibFlow',//收支列表
		head: http +'v1/api/mall/member/personal/team/head',//团队展示头部数据 
		myTeamInfo: http +'v1/api/mall/member/personal/myTeamInfo',//我的团队用户列表
		myInvitation: http +'v1/api/team/myInvitation',//我的邀请码
		selectBannerType: http +'v1/api/mall/goods/banner/selectBannerType',//轮播图
		updeteUserName: http +'v1/api/mall/member/personal/updeteUserName',//修改个人昵称
		updateHeaderImg: http +'v1/api/mall/member/personal/updateHeaderImg',//修改个人头像
		updeteLonginPassword: http +'v1/api/mall/member/login/updeteLonginPassword',//修改登录密码
		updetePayPassword: http +'v1/api/mall/member/login/updetePayPassword',//修改支付密码
		getUserInfo: http +'v1/api/mall/member/personal/getUserInfo',//获取用户信息
		myTeamAwardList: http +'v1/api/mall/member/personal/myTeamAwardList',//团队收益
		sysVersion:http +'v1/api/mall/member/personal/sysVersion',//版本更新，
		transferAgg:http + 'v1/api/mall/member/personal/transferAgg'
	},
	login:{
		phoneGetCode: http +'v1/api/mall/member/login/phoneGetCode',//手机获取验证码
		phonePasswordRegister: http +'v1/api/mall/member/login/phonePasswordRegister',//手机验证码密码注册
		passwordGetUserInfo: http + 'v1/api/mall/member/login/passwordGetUserInfo',//手机号密码登陆
		waplogin: LoginHttp +'home/web/index.php?r=user/waplogin',//登录、注册
	},
	mall: {
		getGoodsList: http + 'v1/api/mall/goods/integra/getGoodsList', //兑换列表
		getIntegralGoods: http + 'v1/api/mall/goods/integral/getIntegralGoods', //商品详情
		createOrder: http + 'v1/api/mall/order/create/createOrder', //兑换商品生成订单
		memberOrderInfo: http + 'v1/api/mall/order/info/memberOrderInfo', //订单列表
		orderDetails: http + 'v1/api/mall/order/info/orderDetails', //订单详情
		affirmTake: http + 'v1/api/mall/order/info/affirmTake', //订单确认收货
		cancelAnOrder: http + 'v1/api/mall/order/info/cancelAnOrder', //取消订单
		removeOrder: http + 'v1/api/mall/order/info/removeOrder', //删除订单
		remindShipments: http + 'v1/api/mall/order/info/remindShipments', //提醒发货
		kuaidi: http + 'v1/api/mall/order/info/kuaidi', //物流查询
	},
	exchange:  {
		setTransaction: http + 'v1/api/exchange/setTransaction', //交易所-卖出
		getTransactionList: http + 'v1/api/exchange/getTransactionList', //交易所-买卖列表
		getTransactionDetails: http + 'v1/api/exchange/getTransactionDetails', //卖出列表单个详情
		setTransactionIn: http + 'v1/api/exchange/setTransactionIn', //卖出订单-买入匹配
		getTransactionInDetails: http + 'v1/api/exchange/getTransactionInDetails', //查询订单详情
		setPaymentVoucher: http + 'v1/api/exchange/setPaymentVoucher', //买入上传支付凭证
		setConfirmOrderOut: http + 'v1/api/exchange/setConfirmOrderOut', //卖出确认
		setOrderCancel: http + 'v1/api/exchange/setOrderCancel', //买卖撤销
		setOrderComplaint: http + 'v1/api/exchange/setOrderComplaint', //买卖投诉
		getExchangeOrderList: http + 'v1/api/exchange/getExchangeOrderList', //所有订单
		getExchangeOrderHeader: http + 'v1/api/exchange/getExchangeOrderHeader', //所有订单头部数据
		getExchangeCancelNumber: http + 'v1/api/exchange/getExchangeCancelNumber', //撤销次数
		getExchangeConfig: http + 'v1/api/exchange/getExchangeConfig', //说明参数
		setExchangeBuy: http + 'v1/api/exchange/setExchangeBuy', //交易所-发起求购
		setTransactionOut: http + 'v1/api/exchange/setTransactionOut' ,//求购订单-卖出匹配
		getExchangeService: http + 'v1/api/exchange/getServiceList' //服务商列表
	},
	address:  {
		//getTakeAddress: http +'v1/api/mall/member/personal/getTakeAddress',//获取收货地址
		getDefaultTakeAddress: http +'v1/api/mall/member/personal/getDefaultTakeAddress',//获取默认收货地址
		setTakeAddress: http +'v1/api/mall/member/personal/setTakeAddress',//添加收货地址
		alterTakeAddress: http +'v1/api/mall/member/personal/alterTakeAddress',//修改收货地址
		getCodeCityAll: http +'v1/api/mall/member/personal/getCodeCityAll'//获取省市区列表
	},
	collection: {
		getPaymentInfo: http +'v1/api/mall/member/personal/getPaymentInfo',//查收款方式
		setPaymentInfo: http +'v1/api/mall/member/personal/setPaymentInfo',//修改收款方式
		getOutPaymentInfo: http +'v1/api/mall/member/personal/getOutPaymentInfo'//查收C2C卖方的收款方式
	},
	ad:{
		addTaskTimes: http + 'v1/api/community/task/addTaskTimes',//获取广告次数
		taskList:http+ 'v1/api/community/task/list' //任务列表
	}
	
};
module.exports = r;
